From: Sam Hewitt Date: Tue, 2 May 2023 13:31:12 +0000 (-0230) Subject: style: Adjust the tooltip style; fix inconsistency with screenshot UI X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~337^2~2^2~90 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b6ab9091805e87c26178f5d09dadf6ee83be0f0d;p=gnome-shell.git style: Adjust the tooltip style; fix inconsistency with screenshot UI - remove screenshot tooltips using a style different from other tooltips - tone down how dark they are - fix missing background adjustment for high contrast Fixes #6660 Part-of: --- diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss index 953bee598..0648fa4d5 100644 --- a/data/theme/gnome-shell-sass/_common.scss +++ b/data/theme/gnome-shell-sass/_common.scss @@ -167,6 +167,7 @@ stage { // tooltip %tooltip { background-color: transparentize(black, 0.1); + border: 1px solid transparentize($light_1, 0.9); color: $light_1; border-radius: 99px; @@ -174,6 +175,7 @@ stage { text-align: center; @if $is_highcontrast { + background-color: black; border-color: $hc_inset_color; } } diff --git a/data/theme/gnome-shell-sass/widgets/_screenshot.scss b/data/theme/gnome-shell-sass/widgets/_screenshot.scss index 039d977a3..7b490f166 100644 --- a/data/theme/gnome-shell-sass/widgets/_screenshot.scss +++ b/data/theme/gnome-shell-sass/widgets/_screenshot.scss @@ -195,10 +195,7 @@ $screenshot_ui_button_red: $error_color; } .screenshot-ui-tooltip { - color: $osd_fg_color; - background-color: $osd_bg_color; - border-radius: 99px; - padding: $base_padding $base_padding * 2; + @extend %tooltip; text-align: center; -y-offset: 24px; }